const list = 
    [{

        title:"写一遍祖国的作文",
        starttime:"2019-3-18",
        overtime:"2019-3-20",
        content:"要求一百字"
      },{
        title:"计算下面各题",
        starttime:"2019-3-18",
        overtime:"2019-3-20",
        content:"乘法口诀"
      }
]


export default {
    list: () => {
        if(list){
            return {
                error: 0,
                message: 'successful',
                data: {
                    list
                }
            }
        }
        return{
            error: 123456,
            message: 'homeworklist  incorrect.' 
        }    
    }
}